package com.example.bankend.mapper;



import com.example.bankend.model.Deposit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DepositMapper {
    int insert(Deposit deposit);

    int deleteByPrimaryKey(Integer savingID);

    int updateByPrimaryKey(Deposit deposit);

    Deposit selectByPrimaryKey(Integer savingID);
    //处理存取款

    List<Deposit> selectAll();
}